home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / dev / gcc / libnixV0_8.lha / gnu / libnix-sources.lha / sources / nix / stdio / vsscanf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-12  |  310 b   |  16 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <stdarg.h>
  4. #include <strsup.h>
  5.  
  6. int vsscanf(const char *s,const char *format,va_list args)
  7. {
  8.   FILE buffer;
  9.   buffer.p=(char *)s;
  10.   buffer.flags=0x204;
  11.   buffer.incount=strlen(s);
  12.   buffer.outcount=0;
  13.   buffer.tmpp=NULL;
  14.   return vfscanf(&buffer,format,args);
  15. }
  16.